//
//  MineRequest.h
//  Cycling
//
//  Created by 迟国强 on 2023/3/28.
//

#import "BaseRequest.h"
#import "UerCenterModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface MineRequest : BaseRequest

/// 个人中心首页
/// @param eid eid description
/// @param resultBlock resultBlock description
+ (void)getUserInfoMessageWithEid:(NSString *)eid result:(void(^)(UerCenterModel *model))resultBlock;

/// 更新头像接口
+ (void)uploadavatarWithFile:(NSData *)file type:(NSString *)type result:(void(^)(NSDictionary *ret))resultBlock;

/// 用户设备列表
/// @param page page description
/// @param resultBlock resultBlock description
+ (void)getUserDevices:(NSInteger)page result:(void(^)(NSDictionary *ret))resultBlock;

/// 申请人试骑
/// @param resultBlock resultBlock description
+ (void)getApplyTryrideResult:(void(^)(NSDictionary *ret))resultBlock;

/// 拒绝试骑
/// @param resultBlock resultBlock description
+ (void)refuseRideWithId:(NSString *)Id Result:(void(^)(BOOL ret))resultBlock;

/// 结束试骑
/// @param resultBlock resultBlock description
+ (void)endRideWithId:(NSString *)Id Result:(void(^)(BOOL ret))resultBlock;

/// 同意试骑
/// @param resultBlock resultBlock description
+ (void)acceptRideWithId:(NSString *)Id Result:(void(^)(BOOL ret))resultBlock;

/// 评价试试骑行
/// @param Id Id description
/// @param content content description
/// @param resultBlock resultBlock description
+ (void)commentTryrideWithId:(NSString *)Id content:(NSString *)content Result:(void(^)(BOOL ret))resultBlock;
@end

NS_ASSUME_NONNULL_END
